import { ElCheckbox } from 'element-plus';
import './style.scss';

export const MciCheckbox = defineComponent({
  name: 'MciCheckbox',
  props: {
    checked: {
      type: Boolean,
      default: false
    },
    disabled: {
      type: Boolean,
      default: false
    },
    label: {
      type: String,
      default: ''
    }
  },
  render() {
    return (
      <ElCheckbox
        class="mci-checkbox"
        checked={this.checked}
        disabled={this.disabled}
        vSlots={this.$slots}
        label={this.label}
      />
    );
  }
});
